<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>   
    <head>
        <title>Bionic WebMoney</title>      
        <link type="text/css" href="resources/css/demos.css" rel="stylesheet" />        
        <script src="resources/script/jquery.min.js"></script>
        <script type="text/javascript" language="javascript" >                 

                         function viewCustomerRecord(id)
                         {                                       
                                 var f=document.forms[0];                                
                                 f.method="post";                                
                                 //f.action='../customer/Edit.jsp?id='+id;                                
                                 f.action='Controller?command=startEditCustomer&id='+id;
                                 f.submit();
                         }                                      
       </script>     
  
      <style type="text/css">
            body 
            {
                font-size: 62.5%;
                background:lightgrey;
            }        
            .Red{
                border: solid 2px red;
            }
            span{
                color:red;
            }
            .floatLeft{
                float:left;
                margin-right:5px;
            }
        </style>    
    </head>    
    <body id="main">         
        <div  id="divLoginInfo" align="right">
            <h3> Welcome ${user} ! <a href="Controller?command=logout"> logout</a> </h3>
        </div>         

        <table id="divMain" style="width:100%"> 
            <tr id="topMenu">
                <td>
                    <div  align="center">
                        <h2> Wellcome to the "Bionic WebBank"</h2>
                    </div>
                </td>
                <td>
                    <jsp:include page="LAYOUT/topmenu.jsp" />             
                </td>
            </tr>   
            <tr>
                <td id="spLeftMenu" style="width:25%; vertical-align: top">
                    <jsp:include page="LAYOUT/lefttoolbar.jsp" />
                </td>
                <td id="spContent" style="width:75%; vertical-align: top">
                    <jsp:include page="${content}" />
                </td>
            </tr>
        </table>

    </body>
</html>